package com.zjsd.sqeybusiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业信息对象 company_info
 *
 * @author Zheng
 * @date 2020-11-05
 */
@ApiModel
public class CompanyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    private Long companyId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String name;

    /** 主营类别 */
    @Excel(name = "主营类别")
    @ApiModelProperty(value = "主营类别")
    private String mainCategory;

    /** 企业介绍 */
    private String introduction;

    /** Logo */
    @Excel(name = "Logo")
    @ApiModelProperty(value = "图片url")
    private String logo;

    /** 固定电话 */
    private String phone;

    /** 所在省 */
    private String province;

    /** 所在市 */
    private String city;

    /** 所在县 */
    private String county;

    /** 详细地址 */
    private String address;

    /** 官网地址 */
    private String website;

    /** 电子邮箱 */
    private String email;

    /** QQ */
    private String qq;

    /** 政策支持 */
    private String policySupport;

    /** 招商联系人 */
    private String contacts;

    /** 招商联系人电话 */
    private String contactsPhone;

    /** 招商联系人微信 */
    private String contactsWechat;

    /** 营业执照 */
    private String businessLicense;

    /** 注册资本 */
    private String registerCapital;

    /** 注册地址 */
    private String registerAddress;

    /** 法人 */
    private String corporation;

    /** 企业类型 */
    private String companyType;

    /** 企业注册日期 */
    private String registerDate;

    /** 营业期限 */
    private String deadline;

    /** 年检时间 */
    private String checkTime;

    /** 登记机关 */
    private String authority;

    /** 经营范围 */
    private String scope;

    /** 广告位LOGO */
    @Excel(name = "广告位LOGO")
    private String advertisingLogo;

    /** 企业头条图片 */
    private String frontPage;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Integer pageViews;

    /** 上架区域 */
    @Excel(name = "上架区域")
    private String shelvesArea;

    /** 上架位置 */
    @Excel(name = "上架位置")
    private String shelvesPosition;

    /** 上架状态[1上架2下架] */
    @Excel(name = "上架状态[1上架2下架]")
    private String shelvesStatus;

    /** 上架开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shelvesStartDate;

    /** 上架结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shelvesEndDate;

    private Long deptId;

    private String provinceName;
    private String cityName;
    private String countyName;

    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMainCategory(String mainCategory)
    {
        this.mainCategory = mainCategory;
    }

    public String getMainCategory()
    {
        return mainCategory;
    }
    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setWebsite(String website)
    {
        this.website = website;
    }

    public String getWebsite()
    {
        return website;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setQq(String qq)
    {
        this.qq = qq;
    }

    public String getQq()
    {
        return qq;
    }
    public void setPolicySupport(String policySupport)
    {
        this.policySupport = policySupport;
    }

    public String getPolicySupport()
    {
        return policySupport;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setContactsPhone(String contactsPhone)
    {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsPhone()
    {
        return contactsPhone;
    }
    public void setContactsWechat(String contactsWechat)
    {
        this.contactsWechat = contactsWechat;
    }

    public String getContactsWechat()
    {
        return contactsWechat;
    }
    public void setBusinessLicense(String businessLicense)
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense()
    {
        return businessLicense;
    }
    public void setRegisterCapital(String registerCapital)
    {
        this.registerCapital = registerCapital;
    }

    public String getRegisterCapital()
    {
        return registerCapital;
    }
    public void setRegisterAddress(String registerAddress)
    {
        this.registerAddress = registerAddress;
    }

    public String getRegisterAddress()
    {
        return registerAddress;
    }
    public void setCorporation(String corporation)
    {
        this.corporation = corporation;
    }

    public String getCorporation()
    {
        return corporation;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }
    public void setRegisterDate(String registerDate)
    {
        this.registerDate = registerDate;
    }

    public String getRegisterDate()
    {
        return registerDate;
    }
    public void setDeadline(String deadline)
    {
        this.deadline = deadline;
    }

    public String getDeadline()
    {
        return deadline;
    }
    public void setCheckTime(String checkTime)
    {
        this.checkTime = checkTime;
    }

    public String getCheckTime()
    {
        return checkTime;
    }
    public void setAuthority(String authority)
    {
        this.authority = authority;
    }

    public String getAuthority()
    {
        return authority;
    }
    public void setScope(String scope)
    {
        this.scope = scope;
    }

    public String getScope()
    {
        return scope;
    }
    public void setAdvertisingLogo(String advertisingLogo)
    {
        this.advertisingLogo = advertisingLogo;
    }

    public String getAdvertisingLogo()
    {
        return advertisingLogo;
    }
    public void setFrontPage(String frontPage)
    {
        this.frontPage = frontPage;
    }

    public String getFrontPage()
    {
        return frontPage;
    }
    public void setPageViews(Integer pageViews)
    {
        this.pageViews = pageViews;
    }

    public Integer getPageViews()
    {
        return pageViews;
    }
    public void setShelvesArea(String shelvesArea)
    {
        this.shelvesArea = shelvesArea;
    }

    public String getShelvesArea()
    {
        return shelvesArea;
    }
    public void setShelvesPosition(String shelvesPosition)
    {
        this.shelvesPosition = shelvesPosition;
    }

    public String getShelvesPosition()
    {
        return shelvesPosition;
    }
    public void setShelvesStatus(String shelvesStatus)
    {
        this.shelvesStatus = shelvesStatus;
    }

    public String getShelvesStatus()
    {
        return shelvesStatus;
    }
    public void setShelvesStartDate(Date shelvesStartDate)
    {
        this.shelvesStartDate = shelvesStartDate;
    }

    public Date getShelvesStartDate()
    {
        return shelvesStartDate;
    }
    public void setShelvesEndDate(Date shelvesEndDate)
    {
        this.shelvesEndDate = shelvesEndDate;
    }

    public Date getShelvesEndDate()
    {
        return shelvesEndDate;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("name", getName())
            .append("mainCategory", getMainCategory())
            .append("introduction", getIntroduction())
            .append("logo", getLogo())
            .append("phone", getPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("address", getAddress())
            .append("website", getWebsite())
            .append("email", getEmail())
            .append("qq", getQq())
            .append("policySupport", getPolicySupport())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .append("contactsWechat", getContactsWechat())
            .append("businessLicense", getBusinessLicense())
            .append("registerCapital", getRegisterCapital())
            .append("registerAddress", getRegisterAddress())
            .append("corporation", getCorporation())
            .append("companyType", getCompanyType())
            .append("registerDate", getRegisterDate())
            .append("deadline", getDeadline())
            .append("checkTime", getCheckTime())
            .append("authority", getAuthority())
            .append("scope", getScope())
            .append("advertisingLogo", getAdvertisingLogo())
            .append("frontPage", getFrontPage())
            .append("pageViews", getPageViews())
            .append("shelvesArea", getShelvesArea())
            .append("shelvesPosition", getShelvesPosition())
            .append("shelvesStatus", getShelvesStatus())
            .append("shelvesStartDate", getShelvesStartDate())
            .append("shelvesEndDate", getShelvesEndDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId",getDeptId())
            .append("provinceName",getProvinceName())
                .append("cityName",getCityName())
                .append("countyName",getCountyName())
            .toString();
    }
}
